/*
 * MainScreen.java
 *
 * Created on October 23, 2007, 3:36 PM
 */

package jia.game;

import jia.editor.EditorMain;
import jia.tools.PanelSwapper;

/**
 *
 * @author  estell
 */
public class MainScreen extends javax.swing.JPanel {

    /** Creates new form MainScreen */
    public MainScreen() {
        initComponents();
    }
    
    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        tophalf = new javax.swing.JPanel();
        viewportFrame = new javax.swing.JPanel();
        fpViewport = new javax.swing.JPanel();
        farRight = new javax.swing.JPanel();
        characterList = new javax.swing.JPanel();
        moduleInfo = new javax.swing.JPanel();
        compass = new javax.swing.JPanel();
        diagScrl = new javax.swing.JScrollPane();
        dialoguePane = new javax.swing.JTextPane();
        btnPanel = new javax.swing.JPanel();

        setBackground(new java.awt.Color(62, 43, 5));
        setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
        setMaximumSize(new java.awt.Dimension(800, 580));
        setMinimumSize(new java.awt.Dimension(800, 580));
        setPreferredSize(new java.awt.Dimension(800, 580));

        tophalf.setBackground(new java.awt.Color(62, 43, 5));
        tophalf.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        tophalf.setMaximumSize(new java.awt.Dimension(790, 377));
        tophalf.setMinimumSize(new java.awt.Dimension(790, 377));
        tophalf.setPreferredSize(new java.awt.Dimension(790, 377));

        viewportFrame.setBackground(new java.awt.Color(62, 43, 5));
        viewportFrame.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.LOWERED));
        viewportFrame.setMaximumSize(new java.awt.Dimension(200, 235));
        viewportFrame.setMinimumSize(new java.awt.Dimension(200, 235));
        viewportFrame.setRequestFocusEnabled(false);
        viewportFrame.setVerifyInputWhenFocusTarget(false);

        fpViewport.setBackground(new java.awt.Color(0, 0, 0));
        fpViewport.setMaximumSize(new java.awt.Dimension(176, 209));
        fpViewport.setMinimumSize(new java.awt.Dimension(176, 209));

        org.jdesktop.layout.GroupLayout fpViewportLayout = new org.jdesktop.layout.GroupLayout(fpViewport);
        fpViewport.setLayout(fpViewportLayout);
        fpViewportLayout.setHorizontalGroup(
            fpViewportLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 176, Short.MAX_VALUE)
        );
        fpViewportLayout.setVerticalGroup(
            fpViewportLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 209, Short.MAX_VALUE)
        );

        org.jdesktop.layout.GroupLayout viewportFrameLayout = new org.jdesktop.layout.GroupLayout(viewportFrame);
        viewportFrame.setLayout(viewportFrameLayout);
        viewportFrameLayout.setHorizontalGroup(
            viewportFrameLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(viewportFrameLayout.createSequentialGroup()
                .addContainerGap()
                .add(fpViewport, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );
        viewportFrameLayout.setVerticalGroup(
            viewportFrameLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, viewportFrameLayout.createSequentialGroup()
                .addContainerGap()
                .add(fpViewport, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        farRight.setBackground(new java.awt.Color(62, 43, 5));
        farRight.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.LOWERED));
        farRight.setMaximumSize(new java.awt.Dimension(568, 235));
        farRight.setMinimumSize(new java.awt.Dimension(568, 235));
        farRight.setPreferredSize(new java.awt.Dimension(568, 235));

        characterList.setBackground(new java.awt.Color(0, 0, 0));
        characterList.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        characterList.setMaximumSize(new java.awt.Dimension(544, 135));
        characterList.setMinimumSize(new java.awt.Dimension(544, 135));

        org.jdesktop.layout.GroupLayout characterListLayout = new org.jdesktop.layout.GroupLayout(characterList);
        characterList.setLayout(characterListLayout);
        characterListLayout.setHorizontalGroup(
            characterListLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 538, Short.MAX_VALUE)
        );
        characterListLayout.setVerticalGroup(
            characterListLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 131, Short.MAX_VALUE)
        );

        moduleInfo.setBackground(new java.awt.Color(0, 0, 0));
        moduleInfo.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        moduleInfo.setMaximumSize(new java.awt.Dimension(372, 68));
        moduleInfo.setMinimumSize(new java.awt.Dimension(372, 68));

        org.jdesktop.layout.GroupLayout moduleInfoLayout = new org.jdesktop.layout.GroupLayout(moduleInfo);
        moduleInfo.setLayout(moduleInfoLayout);
        moduleInfoLayout.setHorizontalGroup(
            moduleInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 370, Short.MAX_VALUE)
        );
        moduleInfoLayout.setVerticalGroup(
            moduleInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 64, Short.MAX_VALUE)
        );

        compass.setMaximumSize(new java.awt.Dimension(162, 68));
        compass.setMinimumSize(new java.awt.Dimension(162, 68));
        compass.setPreferredSize(new java.awt.Dimension(162, 68));

        org.jdesktop.layout.GroupLayout compassLayout = new org.jdesktop.layout.GroupLayout(compass);
        compass.setLayout(compassLayout);
        compassLayout.setHorizontalGroup(
            compassLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 162, Short.MAX_VALUE)
        );
        compassLayout.setVerticalGroup(
            compassLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 68, Short.MAX_VALUE)
        );

        org.jdesktop.layout.GroupLayout farRightLayout = new org.jdesktop.layout.GroupLayout(farRight);
        farRight.setLayout(farRightLayout);
        farRightLayout.setHorizontalGroup(
            farRightLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, farRightLayout.createSequentialGroup()
                .addContainerGap()
                .add(farRightLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                    .add(characterList, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 542, Short.MAX_VALUE)
                    .add(farRightLayout.createSequentialGroup()
                        .add(moduleInfo, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(compass, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap())
        );
        farRightLayout.setVerticalGroup(
            farRightLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, farRightLayout.createSequentialGroup()
                .addContainerGap()
                .add(characterList, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(farRightLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(compass, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(moduleInfo, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );

        diagScrl.setBackground(new java.awt.Color(62, 43, 5));
        diagScrl.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.LOWERED));

        dialoguePane.setBackground(new java.awt.Color(0, 0, 0));
        dialoguePane.setEditable(false);
        dialoguePane.setForeground(new java.awt.Color(255, 255, 255));
        dialoguePane.setText("dfasd\nasdfasd\nasdfasdf\nasdfasdf\nasdfasdf\nasdfasdf\nasdfasdf\nasdfasdf\nasdfasdf\nasdfasdf\nasdfasdf\nasdfasdf\nasdfasdf\nasdfasfd");
        dialoguePane.setFocusable(false);
        dialoguePane.setVerifyInputWhenFocusTarget(false);
        diagScrl.setViewportView(dialoguePane);

        org.jdesktop.layout.GroupLayout tophalfLayout = new org.jdesktop.layout.GroupLayout(tophalf);
        tophalf.setLayout(tophalfLayout);
        tophalfLayout.setHorizontalGroup(
            tophalfLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, tophalfLayout.createSequentialGroup()
                .addContainerGap()
                .add(tophalfLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                    .add(org.jdesktop.layout.GroupLayout.LEADING, diagScrl, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 776, Short.MAX_VALUE)
                    .add(tophalfLayout.createSequentialGroup()
                        .add(viewportFrame, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                        .add(farRight, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 566, Short.MAX_VALUE)))
                .addContainerGap())
        );
        tophalfLayout.setVerticalGroup(
            tophalfLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(tophalfLayout.createSequentialGroup()
                .addContainerGap()
                .add(tophalfLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(viewportFrame, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(farRight, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                .add(diagScrl, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 247, Short.MAX_VALUE)
                .addContainerGap())
        );

        btnPanel.setBackground(new java.awt.Color(62, 43, 5));
        btnPanel.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        org.jdesktop.layout.GroupLayout btnPanelLayout = new org.jdesktop.layout.GroupLayout(btnPanel);
        btnPanel.setLayout(btnPanelLayout);
        btnPanelLayout.setHorizontalGroup(
            btnPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 796, Short.MAX_VALUE)
        );
        btnPanelLayout.setVerticalGroup(
            btnPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 50, Short.MAX_VALUE)
        );

        org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, btnPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .add(tophalf, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 800, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
                .addContainerGap()
                .add(tophalf, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 519, Short.MAX_VALUE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(btnPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
        );
    }// </editor-fold>//GEN-END:initComponents
    



    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JPanel btnPanel;
    private javax.swing.JPanel characterList;
    private javax.swing.JPanel compass;
    private javax.swing.JScrollPane diagScrl;
    private javax.swing.JTextPane dialoguePane;
    private javax.swing.JPanel farRight;
    private javax.swing.JPanel fpViewport;
    private javax.swing.JPanel moduleInfo;
    private javax.swing.JPanel tophalf;
    private javax.swing.JPanel viewportFrame;
    // End of variables declaration//GEN-END:variables
    
}
